# roles/grafana/templates/grafana.ini.j2
[server]
http_port = {{ grafana_port }}

[security]
admin_user = {{ grafana_admin_user }}
admin_password = {{ grafana_admin_password }}

# 可选：启用匿名访问（谨慎使用）
;[auth.anonymous]
;enabled = false

[users]
allow_sign_up = false

# 日志
[log]
mode = console
level = info